package com.passioneffect.components {
	import flash.display.MovieClip;
	import flash.events.Event;
	
	import com.passioneffect.display.Component;
	import com.passioneffect.layout.SlideMenuLayout;
	import com.passioneffect.layoutflow.SimpleLayoutFlow;
	import com.passioneffect.parser.ListXMLParser;
	import com.passioneffect.parser.ValuePairParser;
	import com.passioneffect.widgets.CirclePreloader;	

	/**
	 * @author Passion Effect
	 */
	public class SlideMenu extends FlowEffect {
		private var circle : CirclePreloader;
		private var mc : MovieClip;

		public function SlideMenu(parentComponent : Component = null) {
			super(parentComponent);
		}
		
		override protected function preset() : void {
			startUpMotion = false;
			_direction = "horizontal";
			_scrollType="none";
			_mask=true;
			
			_contentClass="SlideMenuContent_mc";
			
			_layout = new SlideMenuLayout(this);
			layoutFlow = new SimpleLayoutFlow();
			xmlParser = new ListXMLParser();
			styleXMLParser = new ValuePairParser();
		}
		
		override protected function postset():void{
			
		}
	}
}
